package org.zzh.service.cargo.factory;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.zzh.dao.mapper.CoFactoryMapper;
import org.zzh.domain.cargo.contract.CoContract;
import org.zzh.domain.cargo.factory.CoFactory;

import java.util.List;

@Service
public class CoFactoryServiceImpl implements CoFactoryService{

    @Autowired
    public CoFactoryMapper coFactoryMapper;

    @Override
    public List<CoFactory> list() {
        return coFactoryMapper.list();
    }
}
